#!/usr/bin/python
# -*- coding: UTF-8 -*-
"""
@author: zhangZW
@file: start.py
@time: 2023/01/27
@des: 启动文件
"""
import time

from scripts import check, main
import threading

check_thread = threading.Thread(target=check.check())
main_thread = threading.Thread(target=main.start())

main_thread.start()
for i in range(5):
    print(f'等待启动客户端！--{6-i}')
    time.sleep(1)
print('启动检测线程！')
check_thread.start()
main_thread.join()
check_thread.join()
